package com.movitech.mobile.cz.base.purchase.service;

import com.movitech.mobile.cz.base.purchase.entity.PSpRequiredDetail;
import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtPSpRequiredDetail;
import com.movitech.mobile.cz.base.purchase.entity.ext.SpRequiredDetailFindRequest;

import java.util.List;

/**
 * <p>
 * 战略采购需求-需求明细 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
public interface PSpRequiredDetailService extends IService<PSpRequiredDetail> {

    PSpRequiredDetail savePSpRequiredDetail(PSpRequiredDetail pSpRequiredDetail);

    List<ExtPSpRequiredDetail> findRequiredDetail(SpRequiredDetailFindRequest requiredDetailFindRequest);
    boolean deleteByRequireId(String id);
}
